<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta content="" name="description" />
    <meta content="webthemez" name="author" />
    <title>Bootstrap Admin Theme</title>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__static/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__static/ueditor/ueditor.all.min.js"> </script>
     <script type="text/javascript" charset="utf-8" src="__PUBLIC__static/ueditor/lang/zh-cn/zh-cn.js"></script>
  <!-- Bootstrap Styles-->
    <link href="__PUBLIC__static/admin/assets/css/bootstrap.css" rel="stylesheet" />
     <!-- FontAwesome Styles-->
    <link href="__PUBLIC__static/admin/assets/css/font-awesome.css" rel="stylesheet" />
  
    <link href="__PUBLIC__static/admin/assets/css/select2.min.css" rel="stylesheet" >
  <link href="__PUBLIC__static/admin/assets/css/checkbox3.min.css" rel="stylesheet" >
        <!-- Custom Styles-->
    <link href="__PUBLIC__static/admin/assets/css/custom-styles.css" rel="stylesheet" />
     <!-- Google Fonts-->

     <style type="text/css">
    h1 { font-size: 20px; margin-bottom:3px; }
    h3 { font-size: 13px; margin-top:0px; }
    .main { text-align: center; }
    .time { display:inline-block; font-size:26px; padding:5px; text-align:center; width:86px; }
  </style>
   <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
</head>
<body>
    <div id="wrapper">
        {include file="layout/top" / }
        <!--/. NAV TOP  -->
      {include file="layout/left" / }
        <!-- /. NAV SIDE  -->
        <div id="page-wrapper" >
     <div class="col-md-12">
      <div class="panel panel-default">
        <div class="panel-heading">
         提示:
        </div>        
                
              <div class="panel-body"> 
                <div class="alert alert-success">
                  <strong>Prompt!</strong>  &nbsp&nbsp请上传jpg格式图片!
                </div>
                
              </div>
        </div>
      </div>

    <form class="form-horizontal row-fluid"  enctype="multipart/form-data" method ='post'action ="{:url('admin/shop/do_agreement')}">
            <div id="page-inner"> 
                       <div class="row">
                        <div class="col-xs-12">
                            <div class="panel panel-default">

                              
                                <div class="panel-body">
                                     <div class="sub-title"><span style="margin-left:300px;font-size:20px">用户须知</span></div>
                                    <div>
                                         <script id="editor1" type="text/plain" name="notice" style="margin-left:300px;width:500px;height:350px;">
                                         <?php echo $data['notice']; ?>
                                         </script>
                                    </div>
                                      
                                    <br>

                                    <div class="sub-title"><span style="margin-left:300px;font-size:20px">常见问题</span></div>
                                    <div>
                                         <script id="editor" type="text/plain" name="problem" style="margin-left:300px;width:500px;height:350px;">
                                          <?php echo $data['problem']; ?>
                                         </script>
                                    </div>

                                     
                                    <br><br>
                                        <div  style="text-align:center">
                                        <button type="submit" class="btn btn-default">确定</button>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
              
                  
           
    <!-- jQuery Js -->
    <script src="__PUBLIC__static/admin/assets/js/jquery-1.10.2.js"></script>
      <!-- Bootstrap Js -->
    <script src="__PUBLIC__static/admin/assets/js/bootstrap.min.js"></script>
    <!-- Metis Menu Js -->
    <script src="__PUBLIC__static/admin/assets/js/jquery.metisMenu.js"></script>
  <script src="__PUBLIC__static/admin/assets/js/select2.full.min.js"></script>
  <script type="text/javascript">
  $(document).ready(function() {
    $(".selectbox").select2();
  });
  </script>
      <!-- Custom Js -->
    <script src="__PUBLIC__static/admin/assets/js/custom-scripts.js"></script> 
  
    
<script type="text/javascript">

    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');
        var ue = UE.getEditor('editor1');

</script>
   
</body>
</html>
